Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Getting attached files from $file and moving to body field
~Keiko Dwojipyterettu 19.Jan.04 12:31 PM a Web browser
Notes Client All Releases All Platforms


You need to extract the file to the file system befor you try to attach it to the field of your choise.

envString is the enviormental string that defines where the file should be extracted to.
newAttName is the file name (I'm making sure that there are no two files with the same name as attachments in one document).

Set embObj = attDoc.getAttachment(attName)
Call embObj.extractFile(envString+newAttName)
Set embObj = rtitem.embedObject(EMBED_ATTACHMENT, "", envString+newAttName)




Getting attached files from $file a... (~Karl Zenaverob... 19.Jan.04)
. . RE: Getting attached files from $fi... (~Keiko Dwojipyt... 19.Jan.04)
. . All attachments regardless of their... (~Dan Elhipister... 19.Jan.04)
. . RE: Getting attached files from $fi... (~Wei Frojipyman... 19.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS